package com.neo.springcloud.dao;

import com.neo.springcloud.entities.Payment;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @ClassName: PaymentDao
 * @Title: cloud2021
 * @Package: com.neo.springcloud.dao
 * @Description:
 * @Author: Kisen
 * @Date: 2021/7/18 22:21
 */
@Mapper
public interface PaymentDao {

    int create(Payment payment);

    Payment getPaymentById(@Param("id") Long id);
}
